package com.TestDemo.Test1;

public class TestMethod {

    public static void main(String[] args) {
        TestMethod testMethod = new TestMethod();
        System.out.println(testMethod.a().b());

    }


    public TestMethod a(){
        TestMethod testMethod = new TestMethod();
        return testMethod;
    }
    public int b(){
        return 5;
    }
}
